package com.demo.entity;

import com.demo.entity.base.BaseEntity;

public class Bbs extends BaseEntity{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;//	bigint(20) NOT NULL
	private String title;//	varchar(150) NULL标题
	private int userId;//	int(11) NULL楼主
	private int type;//	int(1) NULL类型
	private int state;//	int(1) NULL1、启用 0、禁用
	private String text;//	text NULL内容
	private String files;//	varchar(150) NULL附件
	private String createTime;//	timestamp NOT NULL
	private String version;//	int(11) NULL
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getFiles() {
		return files;
	}
	public void setFiles(String files) {
		this.files = files;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
}
